# $Id: PKGBUILD 65455 2012-02-21 05:53:24Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Christoph 'delmonico' Neuroth <delmonico@gmx.net>

pkgname=snownews
pkgver=1.5.12
pkgrel=5
pkgdesc="Text mode RSS newsreader for Linux and Unix."
arch=(i686 x86_64)
url="http://kiza.kcore.de/software/snownews/"
license=('GPL')
depends=('libxml2' 'ncurses' 'perl-xml-libxml' 'perl-xml-libxslt' 'openssl')
source=(http://kiza.kcore.de/software/snownews/download/$pkgname-$pkgver.tar.gz)
md5sums=('80da8943fc5aa96571924aec0087d4c0')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr
  make
  make install DESTDIR=$pkgdir
  ln -fs /usr/bin/opml2snow $pkgdir/usr/bin/snow2opml
}
